package study.designpattern.mediator;

import java.awt.Font;

import javax.swing.JLabel;

public class LblDisplay extends JLabel{
    IMediator med;

    public LblDisplay(IMediator med) {
        super("Just start...");
        this.med = med;
        med.registerDisplay(this);
        setFont(new Font("Arial", Font.BOLD, 24));
    }
    

}
